﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="SaleOffAdd.ascx.cs" Inherits="AdminX_Tour_SaleOffAdd" %>
<%@ Register Src="../../Common/Alert.ascx" TagName="Alert" TagPrefix="uc1" %>
<%@ Register Src="../../Common/Textbox.ascx" TagName="Textbox" TagPrefix="uc2" %>
<%@ Register Assembly="FreeTextBox" Namespace="FreeTextBoxControls" TagPrefix="FTB" %>

<div>
        <uc1:Alert ID="Alert1" runat="server" />
</div>
<div>
    <b><asp:Label ID="lblLanguage" Width ="120px"  CssClass="text" 
        runat ="server"></asp:Label></b>
    <asp:DropDownList ID="ddlLanguage" runat="server" CssClass="boxnormal"  AutoPostBack="true"  OnSelectedIndexChanged="ddlLanguage_SelectedIndexChanged">
    </asp:DropDownList></div>
<div><b>
     <asp:Label runat="server" ID="lblTitle" 
         CssClass="text" Width ="120px"></asp:Label></b>
    <asp:TextBox ID ="txtTitle" runat ="server" CssClass="boxlongest" 
         ValidationGroup="Input"></asp:TextBox><span style ="color:Red ;font-size:12px" >*</span>
</div>

<div><b><asp:Label runat="server" ID="lblFromDate" CssClass="text" Width ="120px"></asp:Label></b>
   <input id="date1" name="date1" type="text" value="<%= sFromdate %>"/><span style ="color :Red ;font-size:12px" >*</span> 
</div>

<div><b><asp:Label runat="server" ID="lblToDate" CssClass="text" Width ="120px"></asp:Label></b>
        <input id="date2" name="date2" type="text" value="<%= sTodate %>"/><span style ="color :Red ;font-size:12px" >*</span></div>

<div style="padding:10px 0px 0px 0px ">
      <b><asp:Label ID="lblContent" Width ="55px" runat="server" CssClass="text"></asp:Label><span style="color: #ff3333">*</span></b>
</div>
<div>
 <uc2:TextBox id="FTBContent" runat="server" ></uc2:TextBox>
</div>
<div><br />
     <asp:Button ID ="btnSave" runat ="server" Text="Lưu" Width ="80px"  ValidationGroup="Input" OnClick="btnSave_Click" OnClientClick="return ValidateSaleOffDate();"/>&nbsp;&nbsp;
     <asp:Button ID ="btnBack" runat ="server" Text="Quay lại" Width ="80px" 
        onclick="btnBack_Click"  />
</div>

<%--<asp:RequiredFieldValidator ID="rfvTitle" runat="server" SetFocusOnError="true"   ControlToValidate="txtTitle" Display="None" ValidationGroup="Input" Text="*"></asp:RequiredFieldValidator>
<asp:ValidationSummary ID="ValidationSummary4" ShowMessageBox="true" runat="server" ValidationGroup="Input" ShowSummary="False" />--%>